package com.gl.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数字字典类型实体类
 * </p>
 *
 * @author 晚风
 * @since 2023-04-10
 */
@TableName("sys_dict_serial")
@ApiModel(value = "数字字典类型实体类", description = "")
public class SysDictSerial implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("字典名称")
    private String name;

    @ApiModelProperty("字典编号")
    private String serial;

    @ApiModelProperty("字典类型")
    private String type;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SysDictSerial{" +
                "id=" + id +
                ", name=" + name +
                ", serial=" + serial +
                ", type=" + type +
                "}";
    }
}
